Pod::Spec.new do |s|
  s.name         = 'CommonTools'
  s.summary      = '公共组件'
  s.version      = '0.0.1'
  s.license      = { :type => 'MIT', :file => 'LICENSE' }
  s.authors      = { 'ibireme' => 'ibireme@gmail.com' }
  s.social_media_url = 'http://blog.ibireme.com'
  s.homepage     = 'https://github.com/ibireme/YYModel'
  s.ios.deployment_target = '13.0'
  s.osx.deployment_target = '10.17'
  s.watchos.deployment_target = '2.0'
  s.tvos.deployment_target = '9.0'
  s.source       = { :git => 'https://github.com/ibireme/YYModel.git', :tag => s.version.to_s }
  
  s.requires_arc = true
  s.resources = ['CommonTools/Assets/*.{png,xib,plist,xcassets,bundle}']
  s.source_files = 'CommonTools/Classes/**/*.{h,m,swift}'
  
  s.frameworks = 'Foundation', 'UIKit'
  
#  s.pod_target_xcconfig    = {
#      'OTHER_LDFLAGS' => '-all_load'
#  }
  
  s.dependency "TYUIKit"
  s.dependency "HandyJSON"
  s.dependency "Alamofire"
  s.dependency "YYCategories"
  s.dependency "YYText"
  s.dependency "SnapKit"
  s.dependency 'SDWebImage'
  s.dependency 'TYAlertView'
  s.dependency 'NHHUDExtend'
end
